import request from '@/utils/request'
import type { InitResult } from '@/types/user'

// 获取用户信息和菜单
export function getUserInfo() {
  return request<InitResult>({
    url: '/system/user/init',
    method: 'get'
  })
} 